/**
 * http://usejsdoc.org/
 */
var path = require("path");
//格式化路径
console.log('normalization : ' + path.normalize('test'));
//连接路径
console.log('joint path : ' + path.join('test','test1','tab'));
//转换为绝对路径
console.log('resolve : ' + path.resolve('test'));
//路径中的文件后缀名
console.log('ext name : ' + path.extname('main.js'));